package com.guigu.mapper;

import com.guigu.pojo.TDiseaseLibrary;
import com.wxd.vo.TDiseaseLibraryTCD;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * #疾病库
 */
public interface TDiseaseLibraryMapper {
     List<TDiseaseLibraryTCD> selectTDiseaseLibrary(TDiseaseLibraryTCD tDiseaseLibraryTCD);
//    List<TClinicDepartment> query(TClinicDepartment tClinicDepartment);
    void deleteByPrimaryKey(TDiseaseLibrary tDiseaseLibrary);

    void insert(TDiseaseLibrary tDiseaseLibrary);

    int insertSelective(TDiseaseLibrary record);

    TDiseaseLibrary selectByPrimaryKey(@Param("id") Integer id, @Param("medicalTreatmentPeriod") String medicalTreatmentPeriod);

    int updateByPrimaryKeySelective(TDiseaseLibrary record);

    int updateByPrimaryKey(TDiseaseLibrary record);
//查询所有疾病类型
    List<TDiseaseLibrary> queryDisease();
}